package org.jeecg.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.jeecg.modules.system.entity.BizSiteUserEntity;

import java.util.List;
import java.util.Map;

public interface BizSiteUserMapper extends BaseMapper<BizSiteUserEntity> {

    @Select(" select a.site_id,a.user_id,b.realname from biz_site_user a, sys_user b where a.user_id = b.id and a.status=1 and a.site_id=#{siteId}")
    List<Map<?,?>> getSiteUserRealName(String siteId);
}
